package com.lelv.framework.junit;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

public class SpringTest {

	private static ApplicationContext context  = new FileSystemXmlApplicationContext("/web/WEB-INF/applicationContext.xml");;

	public static Object getBeans(String name){
		return context.getBean(name);
	}

}
